package com.yulongtian.service.impl;

import com.yulongtian.entity.DeviceInfo;
import com.yulongtian.mapper.DeviceInfoMapper;
import com.yulongtian.service.DeviceInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yulongtian
 * @since 2022-11-15
 */
@Service
public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceInfo> implements DeviceInfoService {



    @Override
    public List<String> getDeviceCodeList() {
        return baseMapper.getDeviceCodeList();
    }

    @Override
    public DeviceInfo getDetailInfoByCode(String deviceCode) {
        return baseMapper.getDetailInfoByCode(deviceCode);
    }
}
